$OpenBSD: patch-solid_solid_managerbase_cpp,v 1.2 2014/07/11 11:13:10 zhuk Exp $
--- solid/solid/managerbase.cpp.orig	Sun Jun  8 15:41:32 2014
+++ solid/solid/managerbase.cpp	Fri Jul 11 09:12:21 2014
@@ -80,7 +80,11 @@ void Solid::ManagerBasePrivate::loadBackends()
 #        elif defined(Q_WS_WIN) && !defined(_WIN32_WCE)
             m_backends << new Solid::Backends::Win::WinDeviceManager(0);
 #        elif defined(Q_OS_UNIX) && !defined(Q_OS_LINUX)
+#           if defined(Q_OS_OPENBSD)
+            m_backends << new Solid::Backends::UPower::UPowerManager(0);
+#           else
             m_backends << new Solid::Backends::Hal::HalManager(0);
+#           endif
 
 #        elif defined(Q_OS_LINUX)
             bool solidHalLegacyEnabled
